package cn.jk.config;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;


/**
 * @Import 注解使用方式之一，实现selectImports方法，返回的数组为装配类的全路径名称
 */
public class MyImportSelector implements ImportSelector {

	@Override
	public String[] selectImports(AnnotationMetadata importingClassMetadata) {

		return new String[]{"cn.jk.dao.ImportSelectorDao"};
	}
}
